// 数组混合

// 射线混排
export const rayMix = (p, arr) => {
    const arr2 = []
    arr.forEach(t => {
        arr2.push(p, t)
    })
    return arr2
}

export const raySegs = (p, arr) => {
    const segs = []
    arr.forEach(t => {
        segs.push([p, t])
    })
    return segs
}



